package com.jzhao.mybatisplus.controller;


import com.jzhao.mybatisplus.service.WhsxAcciService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 武汉三相_故障主表 前端控制器
 * </p>
 *
 * @author zhao_jx
 * @since 2020-06-14
 */
@RestController
@RequestMapping("/mybatisplus/whsx-acci")
public class WhsxAcciController {

    @Resource
    private WhsxAcciService whsxAcciService;

    @RequestMapping("/hello")
    public String hello(){
        String time = whsxAcciService.getLatestUpdateTime();
        return "hello "+time;
    }
}

